package com.ruoyi.company.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.scope.domain.Scope;

/**
 * @author WangChangShuo
 * @date 2022/4/19 11:07
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CompanyScope extends BaseEntity {
    /**
     * sys_dept表的主键id  主键
     */
    private Long companyId;

    /**
     * 管理类别 一二三类
     */
    private String scopeClass;

    /**
     * scope表的主键id
     */
    private Long scopeId;

    /**
     * Scope 表 一对一关系
     */
    private Scope scope;

    public Scope getScope() {
        return scope;
    }

    public void setScope(Scope scope) {
        this.scope = scope;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getScopeClass() {
        return scopeClass;
    }

    public void setScopeClass(String scopeClass) {
        this.scopeClass = scopeClass;
    }

    public Long getScopeId() {
        return scopeId;
    }

    public void setScopeId(Long scopeId) {
        this.scopeId = scopeId;
    }

    @Override
    public String toString() {
        return "CompanyScope{" +
                "companyId=" + companyId +
                ", scopeClass='" + scopeClass + '\'' +
                ", scopeId=" + scopeId +
                ", scope=" + scope +
                '}';
    }
}
